import Vue from "vue";
import App from "./App.vue";
import Vant from 'vant';
import router from "./router";
import store from "./store/index.js";
import axios from "./api/api";
import globalfunc from '@/utils/common.js';
import VConsole from 'vconsole';
import '@/assets/js/flexible.js';
import 'vant/lib/index.css';
Vue.use(Vant);
Vue.config.productionTip = true;//线上环境改为false

Vue.prototype.$bus= new Vue();
Vue.prototype.axios= axios;

Vue.prototype.globalfunc=globalfunc;

Vue.prototype.vconsole=new VConsole();
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount("#app");
